package com.fll.server.web.exception;

/**
 * @author fanlei
 * @version 1.0
 * @date 2019年01月25日
 */
public class ContextException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private int code;

    public ContextException(int code, String message) {
        super(message);
        this.code = code;
    }

    public ContextException(int code) {
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
